package com.aerozhonghuan.logisticsmall.modules.home;

import android.os.Bundle;

import com.aerozhonghuan.logisticsmall.framework.base.TitlebarActivity;

/**
 * Created by ChenLin on 2019/5/29 10:57.Email&WeChat:7877409@163.com
 * 活动详情页
 */
public class ActivityDetailActivity extends TitlebarActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (savedInstanceState == null) {
            ActivityDetailFragment fragment = new ActivityDetailFragment();
            if (getIntent() != null && getIntent().getExtras() != null) {
                Bundle bundle = new Bundle();
                bundle.putAll(getIntent().getExtras());
                fragment.setArguments(bundle);
            }
            showFragment(fragment, false);
        }
    }

}
